package com.wy.powerbuilder.service.ld;

import com.github.pagehelper.PageInfo;
import com.wy.powerbuilder.entity.ld.Role;

import java.util.List;

public interface RoleService {
    List<Role> all();
    PageInfo<Role> pageAll(Integer pageNo);
    Integer addRole(Role role);
    Role getRole(String r_name);
    Integer delRole(int id);
    Role showRole(Integer id);
    int updateRole(Role role);
}
